function messageCount4(obj) {
    let objID = obj.id
    bottomInit(objID)

    document.getElementById(objID).style.backgroundColor = "rgba(102,102,153,.8)"
    document.getElementById(objID).style.color = "rgb(255,255,255)"
    document.getElementById(objID).style.boxShadow = "0 0 0 white"
    document.getElementById(objID).style.border = "2px solid rgba(204,204,204,1)"
    let span = document.getElementById(objID).getElementsByTagName("span")
    for (const spanElement of span) {
        if (spanElement.getAttribute("name") === "badge") {
            spanElement.setAttribute("hidden","true")
        }
    }
    $("#messageCenterText0001").text("普通消息")
    $.post("/messageCenter/normalMessages",{},function (result) {


        result.forEach((resultElement,index)=>{

            let strS = resultElement.message.split('"')



            let month = resultElement.month
            let day = resultElement.day
            let hour = resultElement.hour
            let minute = resultElement.minute

            if (hour < 10) {
                hour = '0' + hour
            }
            if (minute < 10) {
                minute = '0' + minute
            }
            let time = month+"月"+day+"日"+" " + hour + ":" + minute

            var html = '<li class="NormalMessages" id="card_Li_0001'+(index+1)+'" style=" position: relative;margin-left: 6%;margin-top: 10px;height: 40px">'
                +'                         <span class="messageCenterText messageCenterText0001 NormalMessagesNum" id="normalMessagesNum'+index + 1+'" >'+(index+1)+'</span>'
                +'                         <span class="messageCenterText messageCenterText0001 NormalMessagesTime NormalMessagesNum" id="normalMessagesTime'+(index+1)+'" >'+time+'</span>'
                +'                         <input type="text" id="normalMessagesInput'+(index+1)+'"  style="border: none" readonly="readonly"  value="'+strS[1]+" -> "+strS[2]+'" class="messageCenterText messageCenterText0001 NormalMessagesText NormalMessagesNum" id="messageCenterText00013" >'
                +'                         <button type="button" class="btn btn-success reLoadBtn" id="reLoadBtn'+(index+1)+'" onclick="reLoadBtn(\''+strS[1]+','+(index+1)+'\')" style="visibility: hidden"><span style="margin-top: 1px">重新提交</span></button>'
                +'                         <button type="button" class="btn btn-info detailedBtn"onclick="detailedBtn(\''+strS[1]+','+(index+1)+'\')" ><span style="margin-top: 1px">详细</span></button>'
                +'                         <button type="button" onclick="dangerBtn(\''+strS[1]+','+(index+1)+'\')" class="btn btn-danger"><span style="margin-top: 1px">删除</span></button>'
                +'                     </li>';
            $("#messageSidBar_ul0001").append(html)


        });
    })
}